/**
 * 测试环境的配置内容
 */

module.exports = {
    env: 'production',  //环境名称
    port: 8082,         //http服务端口号
    https_port: 8083,         //https服务端口号
    mongodb_url: 'mongodb://root:vipjasonmongoroot0@59.110.154.238:27017/tbk?authSource=admin',    //数据库地址
    dbname: 'tbk',
    redis_url:'',       //redis地址
    redis_port: ''      //redis端口号
}



// server {
//     listen       80;
//     listen       443 ssl;
//     server_name  dtkm.qingjing.com;

//     ssl_certificate      /usr/local/webserver/443/qingjingzhi.com/1278503_www.qingjingzhi.com.pem;
//     ssl_certificate_key  /usr/local/webserver/443/qingjingzhi.com/1278503_www.qingjingzhi.com.key;

//     ssl_session_timeout  5m;
    
//     if ($server_port = 80) {
//        rewrite ^(.*)$ https://$host$1 permanent;
//     }
//     error_page 497  https://$host;

//     location / {
//         proxy_pass http://127.0.0.1:8081;
//         proxy_set_header Host $http_host;
//         proxy_set_header X-Real-IP $remote_addr;
//         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
//         proxy_set_header X-Forwarded-Proto  $scheme;
//     }
    
//     error_page   500 502 503 504  /50x.html;
//         location = /50x.html {
//         root   html;
//     }
// }